import request from '@/utils/request'
export default {
  listByParentId(parentId) {
    return request({
      url: `/sys/sysdict/listByParentId/${parentId}`,
      method: 'get'
    })
  },
  listTopAndOneByParentId(parentId) {
    return request({
      url: `/sys/sysdict/listByParentIdTopAndOne/${parentId}`,
      method: 'get'
    })
  }
}
